package br.unisc.robokit.main;

import java.io.BufferedReader;
import java.io.FileReader;

public class Utils {

	public static String readLine() {
		try {
			String line = "";
			BufferedReader in = new BufferedReader(new FileReader("config.txt"));
			String str;
			while ((str = in.readLine()) != null) {
				line = str;
				break;
			}
			in.close();
			return line;
		} catch (Exception e) {
			System.out.println("Arquivo nao encontrado config.txt");
			e.printStackTrace();
			return null;
		}
	}

}